package net.betou.cms.dao.main.impl;

import net.betou.cms.dao.main.ContentCheckDao;
import net.betou.cms.entity.main.ContentCheck;
import net.betou.common.hibernate3.HibernateBaseDao;

import org.springframework.stereotype.Repository;

@Repository
public class ContentCheckDaoImpl extends HibernateBaseDao< ContentCheck, Long > implements ContentCheckDao{
	public ContentCheck findById( Long id ) {
		ContentCheck entity = get( id );
		return entity;
	}

	public ContentCheck save( ContentCheck bean ) {
		getSession( ).save( bean );
		return bean;
	}

	@Override
	protected Class< ContentCheck > getEntityClass( ) {
		return ContentCheck.class;
	}
}